<template>
  <div id="app">
    <!-- 动态渲染组件，懒得去弄路由了 -->
    <keep-alive :include='keepInclude' :max="10">
      <component :is="curDemo"/>
    </keep-alive>
  </div>
</template>

<script>

import HiPrint from './HiPrint'

export default {
  name: 'App',
  components: {HiPrint},
  data() {
    return {
      curDemo: 'HiPrint',
      keepInclude: 'HiPrint',
    }
  },
}
</script>

<style scoped>
  #app {
    height: 100vh;
    overflow: scroll;
  }
  #app::-webkit-scrollbar {
    display: none;
  }
</style>

